<div class="clearfix title_bar ">
  <span class="sub_title"> Sản phẩm cửa nhựa</span>
</div>

<ul class="products gallery">
  <?php
    $dataProvider=new CArrayDataProvider($products, array('keyField'=>false));
    $dataProvider->pagination->pageSize = 9;
    
    $this->widget('zii.widgets.CListView', array(
        'id'=>'new_product',
        'dataProvider'=>$dataProvider,
        'pager'=>array
      	(
      		'firstPageLabel' => '&lt;&lt;',
          'prevPageLabel'  => '&lt;',
          'nextPageLabel'  => '&gt;',
          'lastPageLabel'  => '&gt;&gt;',
      		'footer'=>'',
      		'header'=>'',
      	  'selectedPageCssClass' => 'selected',
      	  'firstPageCssClass' => '',
      	  'lastPageCssClass' => '',
      	  'nextPageCssClass' => '',
      	  'previousPageCssClass' => '',
      	  'internalPageCssClass' => '',
      	  'htmlOptions' => array(
      	    'class' => ''
      	  )
      	),
      	'pagerCssClass' => 'pagination clear',
        'template'=>'{items}{pager}',
        'itemView'=>'_view_product',
    ));
  ?>
</ul>